﻿using Microsoft.EntityFrameworkCore.Migrations;
using System;

namespace Niti.OrderManage.EntityFrameworkCore.DbMigrations.Migrations
{
    public partial class changesupplicer : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<DateTime>(
         name: "BeginTime",
         table: "Niti_Suppliers",
         type: "date",
         nullable: false,
         defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
         oldClrType: typeof(string),
         oldType: "varchar(20)",
         oldMaxLength: 20,
         oldNullable: true)
         .OldAnnotation("MySql:CharSet", "utf8mb4");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {

        }
    }
}
